Vue.config.productionTip = false;
import Vue from 'vue';
import App from './App.vue';
import store from './store';
import router from './router';
import '../api/mock';
import 'element-ui/lib/theme-chalk/index.css';
import {
  Button,
  Container,
  Aside,
  Header,
  Main,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Row,
  Col,
  Card,
  Table,
  TableColumn,
  Form,
  FormItem,
  Dialog,
  TimePicker,
  DatePicker,
  Input,
  Switch,
  RadioGroup,
  Radio,
  Pagination,
  Message,
  MessageBox
} 
from 'element-ui';
Vue.use(Button);
Vue.use(Container);
Vue.use(Aside);
Vue.use(Header);
Vue.use(Main);
Vue.use(Menu);
Vue.use(Submenu);
Vue.use(MenuItem);
Vue.use(MenuItemGroup);
Vue.use(Dropdown);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Row);
Vue.use(Col);
Vue.use(Card);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Dialog);
Vue.use(TimePicker);
Vue.use(DatePicker);
Vue.use(Input);
Vue.use(Switch);
Vue.use(RadioGroup);
Vue.use(Radio);
Vue.use(Pagination);

Vue.prototype.$message = Message;
Vue.prototype.$confirm = MessageBox.confirm;

new Vue({
  router,
  render: h => h(App),
  store,
}).$mount('#app')
